package commonUtil;

/**
 * Created by xiezy3 on 2016/8/10.
 */
public class CommonConst {

    public class ResultCode{
        public final static int SUCCESS = 0;
        public final static int PARAMETER_INVALIDATE = 1;
        public final static int NO_DATA_EXIST = 2;
        public final static int DATA_NOT_EXPECT = 3;
        public final static int FAILED = 99;
    }

    public final static String TIMES_CARD = "0";
    public final static String YEAR_CARD = "1";
    public final static String YEAR_CARD_TIMES = "9999";
    public final static String TIMES_CARD_TIMES = "100";
    public final static int YEAR_CARD_EXPIRE_DATE = 1;
    public final static int TIMES_CARD_EXPIRE_DATE = 3;

    public class JdbcConn{
        public final static String URL = "jdbc:mysql://127.0.0.1/mysql?useUnicode=true&characterEncoding=utf8";
        public final static String DRIVER_NAME = "com.mysql.jdbc.Driver";
        public final static String USER_NAME = "root";
        public final static String PASSWORD = "xzy1994";

    }
    public class State{
        public final static String IN_VALIDATE = "0";
        public final static String VALIDATE = "1";
    }
}
